﻿namespace HRM.CORE.Machine
{
    using APP.HELPER.Utils.Language;
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;

    public class xfmAtt : XtraForm
    {
        private IContainer components = null;

        public xfmAtt()
        {
            this.InitializeComponent();
            this.Text = MultiLanguages.GetString("tbl_Machine", "ConnectDevice", this.Text);
            xucAtt att = new xucAtt();
            att.Call += new xucAtt.CallEventHandler(this.xucAtt_Call);
            att.Dock = DockStyle.Fill;
            base.Controls.Add(att);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x1ee, 0x2b8);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "xfmAtt";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "Kết Nối M\x00e1y Chấm C\x00f4ng";
            base.ResumeLayout(false);
        }

        private void xucAtt_Call()
        {
            base.Show();
            base.WindowState = FormWindowState.Normal;
        }
    }
}

